﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JOATServer.SocietyFramework.Core
{
    static class ExtensionMethods
    {
        public static object Get<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key)
        {
            if(dictionary.ContainsKey(key)){
                return dictionary[key];
            }else{
                return null;
            }
        }
    }
}
